package practice3;

public class Addition extends AbstractArithmetic {
    public Addition(int num1, int num2) {
        super(num1, num2);
    }

    @Override
    public void calculate() {
        result = num1 + num2;
    }

    @Override
    public char getOperator() {
        return '+';
    }
}